The MyAlbumXtension object

The MyAlbumXtension object is used to represent a loaded MAX extension DLL.

Properties:

NameStringread-onlyName of the MAX.
nTypeLongread-onlyType of the MAX.
nStateLongread-onlyState of the MAX.

Methods:

Execute(sCmd As String) As Boolean
Asks the MAX to execute the specified command (MAX dependent).

GetResult() As String
Retrieves the result (string) from the last execution.

Setup() As Long
Displays the MAX setup dialog box (if any).

Constants:

MAX types: (can be combined)

MAX_POSTLOAD1MAX is launch after picture is first loaded.
MAX_PRELOAD2MAX is launch before picture is first loaded.
MAX_RUNABLE4MAX can be launched at any time (Execute method is defined).

MAX states:

MAX_IDLE0MAX is not running.
MAX_RUNNING1MAX is running.